package com.jy.rhin.infra.cda.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.jy.rhin.infra.cda.gerenjbjkxx.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
@DS("health")
public interface GeRenJKXXMapper extends BaseMapper<Object> {

    @Select("select *  from JK_GERENJKDASY  ${ew.customSqlSegment}")
    GeRenJKDASYVo getGeRenJKDASY(@Param(Constants.WRAPPER) QueryWrapper<GeRenJKDASYVo> queryWrapper);

    @Select("select *  from JK_GERENJBXX  ${ew.customSqlSegment}")
    GeRenJBXXVo getGeRenJBXX(@Param(Constants.WRAPPER) QueryWrapper<GeRenJBXXVo> queryWrapper);

    @Select("select *  from YL_HUANZHEGMJL  ${ew.customSqlSegment}")
    List<GuoMinShiVo> getGuoMinJL(@Param(Constants.WRAPPER) QueryWrapper<GuoMinShiVo> queryWrapper);

    @Select("select *  from JK_GERENJWS  ${ew.customSqlSegment}")
    List<GeRenJWSVo> getJiWangShi(@Param(Constants.WRAPPER) QueryWrapper<GeRenJWSVo> queryWrapper);

    @Select("select *  from JK_GERENSSS  ${ew.customSqlSegment}")
    List<GeRenSSSVo> getShouShuShi(@Param(Constants.WRAPPER) QueryWrapper<GeRenSSSVo> queryWrapper);

    @Select("select *  from JK_GERENSXS  ${ew.customSqlSegment}")
    List<GeRenSXSVo> getShuXueShi(@Param(Constants.WRAPPER) QueryWrapper<GeRenSXSVo> queryWrapper);

    @Select("select *  from JK_GERENWWS  ${ew.customSqlSegment}")
    List<GeRenWSSVo> getWaiShangShi(@Param(Constants.WRAPPER) QueryWrapper<GeRenWSSVo> queryWrapper);

    @Select("select *  from JK_GERENYCBS  ${ew.customSqlSegment}")
    List<GeRenYCSVo> getYiChuangShi(@Param(Constants.WRAPPER) QueryWrapper<GeRenYCSVo> queryWrapper);

    @Select("select *  from JK_GERENJZS  ${ew.customSqlSegment}")
    List<GeRenJZSVo> getJiaZuShi(@Param(Constants.WRAPPER) QueryWrapper<GeRenJZSVo> queryWrapper);
}
